<template>
  <el-carousel :interval="2000" height="444px" >
    <el-carousel-item v-for="(image, index) in images" :key="index">
      <img :src="image" :alt="'Slide ' + index" class="carousel-image">
    </el-carousel-item>
  </el-carousel>
</template>

<script>
export default {
  name: 'Carousel',
  data() {
    return {
      images: [
        require('../assets/1.jpg'),
        require('../assets/2.jpg'),
        require('../assets/3.jpg'),
        require('../assets/4.jpg'),
        require('../assets/5.jpg')
      ]
    }
  }
}
</script>

<style scoped>
*{
  margin: 0;
  padding: 0;
}
.el-carousel{
  width: 100%;
}
.carousel-image {
 width:100%;
 height: 400px;

  /* object-fit: cover;  */
}

.el-carousel__button{
    font-size: 500px;
}
::v-deep .el-carousel__arrow--left{
 
  font-size: 30px;
 
}
::v-deep .el-carousel__arrow--right{
  font-size: 30px;
 
}

</style>